package com.zhiche.lisa.lspm.dao.model.fleet;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 车队银行账户
 * </p>
 *
 * @author fanguangji
 * @since 2018-12-19
 */
@TableName("lisa_fleet_bank_account")
public class FleetBankAccount extends Model<FleetBankAccount> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 车队ID
     */
	@TableField("fleet_id")
	private Long fleetId;
    /**
     * 身份证号
     */
	@TableField("license_id")
	private String licenseId;
    /**
     * 银行卡号
     */
	@TableField("bank_account")
	private String bankAccount;
    /**
     * 开户人名称
     */
	@TableField("bank_account_name")
	private String bankAccountName;
    /**
     * 开户银行
     */
	@TableField("bank_name")
	private String bankName;
	/**
	 * 万金油账号
	 */
	@TableField("oil_card_account")
	private String oilCardAccount;
    /**
     * 租户ID
     */
	@TableField("tenant_id")
	private Long tenantId;
    /**
     * 创建人
     */
	private String creator;
    /**
     * 删除标识，默认0，若删除，置为1'
     */
	@TableField("is_delete")
	private Integer isDelete;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    /**
     * 更新时间
     */
	@TableField("gmt_modify")
	private Date gmtModify;

	public String getOilCardAccount() {
		return oilCardAccount;
	}

	public void setOilCardAccount(String oilCardAccount) {
		this.oilCardAccount = oilCardAccount;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getFleetId() {
		return fleetId;
	}

	public void setFleetId(Long fleetId) {
		this.fleetId = fleetId;
	}

	public String getLicenseId() {
		return licenseId;
	}

	public void setLicenseId(String licenseId) {
		this.licenseId = licenseId;
	}

	public String getBankAccount() {
		return bankAccount;
	}

	public void setBankAccount(String bankAccount) {
		this.bankAccount = bankAccount;
	}

	public String getBankAccountName() {
		return bankAccountName;
	}

	public void setBankAccountName(String bankAccountName) {
		this.bankAccountName = bankAccountName;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public Long getTenantId() {
		return tenantId;
	}

	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModify() {
		return gmtModify;
	}

	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "FleetBankAccount{" +
			", id=" + id +
			", fleetId=" + fleetId +
			", licenseId=" + licenseId +
			", bankAccount=" + bankAccount +
			", bankAccountName=" + bankAccountName +
			", bankName=" + bankName +
			", tenantId=" + tenantId +
			", creator=" + creator +
			", isDelete=" + isDelete +
			", gmtCreate=" + gmtCreate +
			", gmtModify=" + gmtModify +
			"}";
	}
}
